package com.vitabuybuy.tv.dto;

import com.vitabuybuy.tv.utils.LanaugeUtils;

import java.util.List;

/**
 * 作者：SimGa
 * 日期：2021/2/4
 * 时间：11:19
 * 包名：com.vitabuybuy.tv.dto
 */
public class MyFootPrintListDto {

    /**
     * footprintList : [{"product":{"thumbnail":"http://106.55.47.138/attachment/jpg/613/1000_23875.jpg","salePrice":99,"name":"{\"EN\":\"hat\",\"CN\":\"帽子\",\"MA\":\"hat\"}","id":70,"store":{"name":"李佳琪旗舰店","logo":"http://106.55.47.138/attachment/jpg/2826/1277_2646.jpg","id":63}},"id":552},{"product":{"thumbnail":"http://106.55.47.138/attachment/jpg/4181/768_18149.jpg","salePrice":10,"name":"{\"EN\":\"milk\",\"CN\":\"牛奶\",\"MA\":\"milk\"}","id":63,"store":{"regionName":"{\"EN\":\"China Guangdong Guangzhou\",\"CN\":\"中国 广东 广州\",\"MA\":\"China Guangdong Guangzhou\"}","name":"李艺科潮男装卖店","logo":"http://106.55.47.138/attachment/jpg/4052/793_15950.jpg","id":12}},"id":550},{"product":{"thumbnail":"http://106.55.47.138/attachment/png/5165/2252_4937.png","salePrice":299,"name":"{\"MA\":\"卫衣\",\"EN\":\"卫衣\",\"CN\":\"卫衣\"}","id":62,"store":{"regionName":"{\"EN\":\"China Guangdong Guangzhou\",\"CN\":\"中国 广东 广州\",\"MA\":\"China Guangdong Guangzhou\"}","name":"李艺科潮男装卖店","logo":"http://106.55.47.138/attachment/jpg/4052/793_15950.jpg","id":12}},"id":548},{"product":{"thumbnail":"http://106.55.47.138/attachment/jpg/7266/994_7968.jpg","salePrice":49,"name":"{\"EN\":\"tuoxie \",\"CN\":\"拖鞋\",\"MA\":\"tuoxie\"}","id":69,"store":{"name":"李佳琪旗舰店","logo":"http://106.55.47.138/attachment/jpg/2826/1277_2646.jpg","id":63}},"id":544},{"product":{"thumbnail":"http://106.55.47.138/attachment/png/7548/2626_23106.png","salePrice":199,"name":"{\"EN\":\"Uniqlo xinpin sanitary ware\",\"CN\":\"优衣库新品卫衣\",\"MA\":\"Uniqlo nouveau pull\"}","id":91,"store":{"regionName":"{\"EN\":\"China Guangdong Guangzhou\",\"CN\":\"中国 广东 广州\",\"MA\":\"China Guangdong Guangzhou\"}","name":"优衣库官方旗舰店","logo":"http://106.55.47.138/attachment/png/5372/2119_5030.png","id":62}},"id":543}]
     * createDate : 2021-01-26
     */

    private String createDate;
    /**
     * product : {"thumbnail":"http://106.55.47.138/attachment/jpg/613/1000_23875.jpg","salePrice":99,"name":"{\"EN\":\"hat\",\"CN\":\"帽子\",\"MA\":\"hat\"}","id":70,"store":{"name":"李佳琪旗舰店","logo":"http://106.55.47.138/attachment/jpg/2826/1277_2646.jpg","id":63}}
     * id : 552
     */

    private List<FootprintListBean> footprintList;

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public List<FootprintListBean> getFootprintList() {
        return footprintList;
    }

    public void setFootprintList(List<FootprintListBean> footprintList) {
        this.footprintList = footprintList;
    }

    public static class FootprintListBean {
        /**
         * thumbnail : http://106.55.47.138/attachment/jpg/613/1000_23875.jpg
         * salePrice : 99
         * name : {"EN":"hat","CN":"帽子","MA":"hat"}
         * id : 70
         * store : {"name":"李佳琪旗舰店","logo":"http://106.55.47.138/attachment/jpg/2826/1277_2646.jpg","id":63}
         */

        private ProductBean product;
        private int id;

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public static class ProductBean {
            private String thumbnail;
            private double salePrice;
            private String name;
            private int id;
            /**
             * name : 李佳琪旗舰店
             * logo : http://106.55.47.138/attachment/jpg/2826/1277_2646.jpg
             * id : 63
             */

            private StoreBean store;

            public String getThumbnail() {
                return thumbnail;
            }

            public void setThumbnail(String thumbnail) {
                this.thumbnail = thumbnail;
            }

            public double getSalePrice() {
                return salePrice;
            }

            public void setSalePrice(double salePrice) {
                this.salePrice = salePrice;
            }

            public String getName() {
                return LanaugeUtils.returnStrByLocation(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public StoreBean getStore() {
                return store;
            }

            public void setStore(StoreBean store) {
                this.store = store;
            }

            public static class StoreBean {
                private String name;
                private String logo;
                private int id;

                public String getName() {
                    return LanaugeUtils.returnStrByLocation(name);
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getLogo() {
                    return logo;
                }

                public void setLogo(String logo) {
                    this.logo = logo;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }
        }
    }
}
